<?phprequire_once 'common/init.php';require_once 'config/conf.inc.php';function main(){	global $tpl;	$is_ok = false;	$email = urldecode($_GET['email']);	$reg_code = urldecode($_GET['register_code']);		$login_user = LoginManager::get_login_user();	if (empty($login_user))	{		$tpl->assign("login_status", LOGINSTATUS_OFF);	}	else	{		$tpl->assign("login_status", LOGINSTATUS_ON);		$tpl->assign("login_user", $login_user);	}		$is_ok = AccountManager::check_register_mail($email, $reg_code, $err);	$tpl->assign("check_flag", $is_ok);	$ret = $tpl->display('register_mail.html');}main();?>